﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class ChiTietPhuKien : System.Web.UI.Page
{
    DataTable dt = new DataTable();
    KetNoi obj = new KetNoi();
    protected void Page_Load(object sender, EventArgs e)
    {
        string ma = Request.QueryString["MaPhuKien"];
        dt = obj.loadDataTable("SELECT * FROM PhuKienDienThoai WHERE MaPhuKien =" + ma);
        FormView1.DataSource = dt;
        FormView1.DataBind();
    }
}
